Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: Update examples for passing config settings to setuptools #18

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

stanislavlevin
Copy link
Owner

As of 64.0.0 setuptools deprecated usage of --global-option.

https://setuptools.pypa.io/en/latest/history.html#v64-0-0 https://setuptools.pypa.io/en/latest/history.html#deprecations:

#3380: Passing some types of parameters via --global-option to setuptools PEP 517/PEP 660 backend is now considered deprecated. The user can pass the same arbitrary parameter via --build-option (--global-option is now reserved for flags like --verbose or --quiet).

Both --build-option and --global-option are supported as a transitional effort (a.k.a. “escape hatch”). In the future a proper list of allowed config_settings may be created.

Fixes: #17

As of 64.0.0 `setuptools` deprecated usage of `--global-option`.

https://setuptools.pypa.io/en/latest/history.html#v64-0-0
https://setuptools.pypa.io/en/latest/history.html#deprecations:
> [#3380](pypa/setuptools#3380): Passing some types of parameters via --global-option to setuptools [PEP 517](https://peps.python.org/pep-0517/)/[PEP 660](https://peps.python.org/pep-0660/) backend is now considered deprecated. The user can pass the same arbitrary parameter via --build-option (--global-option is now reserved for flags like --verbose or --quiet).
>
> Both --build-option and --global-option are supported as a transitional effort (a.k.a. “escape hatch”). In the future a proper list of allowed config_settings may be created.

Fixes: #17
Signed-off-by: Stanislav Levin <slev@altlinux.org>
@stanislavlevin stanislavlevin merged commit a44529c into main Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update examples for passing config settings to setuptools
1 participant